<?php
/*
 * @Author: your name
 * @Date: 2022-02-06 17:06:26
 * @LastEditTime: 2022-02-06 17:47:38
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: /nlog/resources/views/errors/404.blade.php
 */
// header("Content-Type: text/html;charset=utf-8");

$result = [
   'code' => 404,
   'msg' =>'资源不存在~',
   'data'=>[]
];
$_POST['HTTP_SERVER']->status($result['code']);
echo json_encode($result,JSON_UNESCAPED_UNICODE);